package com.cainiao.pojo;

import java.util.Date;

/**
 * 
 * OrderDiscountInfo
 * 数据库表：order_discount_info
 */
public class OrderDiscountInfo {

    /**
     * 
     * 表字段 : order_discount_info.id
     */
    private Long id;

    /**
     * 应用唯一标志符
     * 表字段 : order_discount_info.biz_code
     */
    private String bizCode;

    /**
     * 所属订单ID
     * 表字段 : order_discount_info.order_id
     */
    private Long orderId;

    /**
     * 所属订单商品ID
     * 表字段 : order_discount_info.order_item_id
     */
    private Long orderItemId;

    /**
     * 商品ID
     * 表字段 : order_discount_info.item_id
     */
    private Long itemId;

    /**
     * 商品sku的ID
     * 表字段 : order_discount_info.item_sku_id
     */
    private Long itemSkuId;

    /**
     * 订单来源分销商id
     * 表字段 : order_discount_info.distributor_id
     */
    private Long distributorId;

    /**
     * 下单用户ID
     * 表字段 : order_discount_info.user_id
     */
    private Long userId;

    /**
     * 优惠类型 1为营销活动 2为虚拟财富
     * 表字段 : order_discount_info.discount_type
     */
    private Integer discountType;

    /**
     * 优惠标志码
     * 表字段 : order_discount_info.discount_code
     */
    private String discountCode;

    /**
     * 优惠描述
     * 表字段 : order_discount_info.discount_desc
     */
    private String discountDesc;

    /**
     * 本优惠记录所占优惠额度
     * 表字段 : order_discount_info.discount_amount
     */
    private Long discountAmount;

    /**
     * 关联的营销活动id
     * 表字段 : order_discount_info.market_activity_id
     */
    private Long marketActivityId;

    /**
     * 所使用的优惠券id
     * 表字段 : order_discount_info.user_coupon_id
     */
    private Long userCouponId;

    /**
     * 关联的营销活动金额
     * 表字段 : order_discount_info.activity_discount_amount
     */
    private Long activityDiscountAmount;

    /**
     * 逻辑删除标志
     * 表字段 : order_discount_info.delete_mark
     */
    private Byte deleteMark;

    /**
     * 记录创建时间
     * 表字段 : order_discount_info.gmt_created
     */
    private Date gmtCreated;

    /**
     * 记录最后一次修改时间
     * 表字段 : order_discount_info.gmt_modified
     */
    private Date gmtModified;

    /**
     * 
     * 表字段 : order_discount_info.sub_market_activity_id
     */
    private Long subMarketActivityId;

    /**
     * 获取  字段:order_discount_info.id
     *
     * @return order_discount_info.id, 
     */
    public Long getId() {
        return id;
    }

    /**
     * 设置  字段:order_discount_info.id
     *
     * @param id the value for order_discount_info.id, 
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 获取 应用唯一标志符 字段:order_discount_info.biz_code
     *
     * @return order_discount_info.biz_code, 应用唯一标志符
     */
    public String getBizCode() {
        return bizCode;
    }

    /**
     * 设置 应用唯一标志符 字段:order_discount_info.biz_code
     *
     * @param bizCode the value for order_discount_info.biz_code, 应用唯一标志符
     */
    public void setBizCode(String bizCode) {
        this.bizCode = bizCode == null ? null : bizCode.trim();
    }

    /**
     * 获取 所属订单ID 字段:order_discount_info.order_id
     *
     * @return order_discount_info.order_id, 所属订单ID
     */
    public Long getOrderId() {
        return orderId;
    }

    /**
     * 设置 所属订单ID 字段:order_discount_info.order_id
     *
     * @param orderId the value for order_discount_info.order_id, 所属订单ID
     */
    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    /**
     * 获取 所属订单商品ID 字段:order_discount_info.order_item_id
     *
     * @return order_discount_info.order_item_id, 所属订单商品ID
     */
    public Long getOrderItemId() {
        return orderItemId;
    }

    /**
     * 设置 所属订单商品ID 字段:order_discount_info.order_item_id
     *
     * @param orderItemId the value for order_discount_info.order_item_id, 所属订单商品ID
     */
    public void setOrderItemId(Long orderItemId) {
        this.orderItemId = orderItemId;
    }

    /**
     * 获取 商品ID 字段:order_discount_info.item_id
     *
     * @return order_discount_info.item_id, 商品ID
     */
    public Long getItemId() {
        return itemId;
    }

    /**
     * 设置 商品ID 字段:order_discount_info.item_id
     *
     * @param itemId the value for order_discount_info.item_id, 商品ID
     */
    public void setItemId(Long itemId) {
        this.itemId = itemId;
    }

    /**
     * 获取 商品sku的ID 字段:order_discount_info.item_sku_id
     *
     * @return order_discount_info.item_sku_id, 商品sku的ID
     */
    public Long getItemSkuId() {
        return itemSkuId;
    }

    /**
     * 设置 商品sku的ID 字段:order_discount_info.item_sku_id
     *
     * @param itemSkuId the value for order_discount_info.item_sku_id, 商品sku的ID
     */
    public void setItemSkuId(Long itemSkuId) {
        this.itemSkuId = itemSkuId;
    }

    /**
     * 获取 订单来源分销商id 字段:order_discount_info.distributor_id
     *
     * @return order_discount_info.distributor_id, 订单来源分销商id
     */
    public Long getDistributorId() {
        return distributorId;
    }

    /**
     * 设置 订单来源分销商id 字段:order_discount_info.distributor_id
     *
     * @param distributorId the value for order_discount_info.distributor_id, 订单来源分销商id
     */
    public void setDistributorId(Long distributorId) {
        this.distributorId = distributorId;
    }

    /**
     * 获取 下单用户ID 字段:order_discount_info.user_id
     *
     * @return order_discount_info.user_id, 下单用户ID
     */
    public Long getUserId() {
        return userId;
    }

    /**
     * 设置 下单用户ID 字段:order_discount_info.user_id
     *
     * @param userId the value for order_discount_info.user_id, 下单用户ID
     */
    public void setUserId(Long userId) {
        this.userId = userId;
    }

    /**
     * 获取 优惠类型 1为营销活动 2为虚拟财富 字段:order_discount_info.discount_type
     *
     * @return order_discount_info.discount_type, 优惠类型 1为营销活动 2为虚拟财富
     */
    public Integer getDiscountType() {
        return discountType;
    }

    /**
     * 设置 优惠类型 1为营销活动 2为虚拟财富 字段:order_discount_info.discount_type
     *
     * @param discountType the value for order_discount_info.discount_type, 优惠类型 1为营销活动 2为虚拟财富
     */
    public void setDiscountType(Integer discountType) {
        this.discountType = discountType;
    }

    /**
     * 获取 优惠标志码 字段:order_discount_info.discount_code
     *
     * @return order_discount_info.discount_code, 优惠标志码
     */
    public String getDiscountCode() {
        return discountCode;
    }

    /**
     * 设置 优惠标志码 字段:order_discount_info.discount_code
     *
     * @param discountCode the value for order_discount_info.discount_code, 优惠标志码
     */
    public void setDiscountCode(String discountCode) {
        this.discountCode = discountCode == null ? null : discountCode.trim();
    }

    /**
     * 获取 优惠描述 字段:order_discount_info.discount_desc
     *
     * @return order_discount_info.discount_desc, 优惠描述
     */
    public String getDiscountDesc() {
        return discountDesc;
    }

    /**
     * 设置 优惠描述 字段:order_discount_info.discount_desc
     *
     * @param discountDesc the value for order_discount_info.discount_desc, 优惠描述
     */
    public void setDiscountDesc(String discountDesc) {
        this.discountDesc = discountDesc == null ? null : discountDesc.trim();
    }

    /**
     * 获取 本优惠记录所占优惠额度 字段:order_discount_info.discount_amount
     *
     * @return order_discount_info.discount_amount, 本优惠记录所占优惠额度
     */
    public Long getDiscountAmount() {
        return discountAmount;
    }

    /**
     * 设置 本优惠记录所占优惠额度 字段:order_discount_info.discount_amount
     *
     * @param discountAmount the value for order_discount_info.discount_amount, 本优惠记录所占优惠额度
     */
    public void setDiscountAmount(Long discountAmount) {
        this.discountAmount = discountAmount;
    }

    /**
     * 获取 关联的营销活动id 字段:order_discount_info.market_activity_id
     *
     * @return order_discount_info.market_activity_id, 关联的营销活动id
     */
    public Long getMarketActivityId() {
        return marketActivityId;
    }

    /**
     * 设置 关联的营销活动id 字段:order_discount_info.market_activity_id
     *
     * @param marketActivityId the value for order_discount_info.market_activity_id, 关联的营销活动id
     */
    public void setMarketActivityId(Long marketActivityId) {
        this.marketActivityId = marketActivityId;
    }

    /**
     * 获取 所使用的优惠券id 字段:order_discount_info.user_coupon_id
     *
     * @return order_discount_info.user_coupon_id, 所使用的优惠券id
     */
    public Long getUserCouponId() {
        return userCouponId;
    }

    /**
     * 设置 所使用的优惠券id 字段:order_discount_info.user_coupon_id
     *
     * @param userCouponId the value for order_discount_info.user_coupon_id, 所使用的优惠券id
     */
    public void setUserCouponId(Long userCouponId) {
        this.userCouponId = userCouponId;
    }

    /**
     * 获取 关联的营销活动金额 字段:order_discount_info.activity_discount_amount
     *
     * @return order_discount_info.activity_discount_amount, 关联的营销活动金额
     */
    public Long getActivityDiscountAmount() {
        return activityDiscountAmount;
    }

    /**
     * 设置 关联的营销活动金额 字段:order_discount_info.activity_discount_amount
     *
     * @param activityDiscountAmount the value for order_discount_info.activity_discount_amount, 关联的营销活动金额
     */
    public void setActivityDiscountAmount(Long activityDiscountAmount) {
        this.activityDiscountAmount = activityDiscountAmount;
    }

    /**
     * 获取 逻辑删除标志 字段:order_discount_info.delete_mark
     *
     * @return order_discount_info.delete_mark, 逻辑删除标志
     */
    public Byte getDeleteMark() {
        return deleteMark;
    }

    /**
     * 设置 逻辑删除标志 字段:order_discount_info.delete_mark
     *
     * @param deleteMark the value for order_discount_info.delete_mark, 逻辑删除标志
     */
    public void setDeleteMark(Byte deleteMark) {
        this.deleteMark = deleteMark;
    }

    /**
     * 获取 记录创建时间 字段:order_discount_info.gmt_created
     *
     * @return order_discount_info.gmt_created, 记录创建时间
     */
    public Date getGmtCreated() {
        return gmtCreated;
    }

    /**
     * 设置 记录创建时间 字段:order_discount_info.gmt_created
     *
     * @param gmtCreated the value for order_discount_info.gmt_created, 记录创建时间
     */
    public void setGmtCreated(Date gmtCreated) {
        this.gmtCreated = gmtCreated;
    }

    /**
     * 获取 记录最后一次修改时间 字段:order_discount_info.gmt_modified
     *
     * @return order_discount_info.gmt_modified, 记录最后一次修改时间
     */
    public Date getGmtModified() {
        return gmtModified;
    }

    /**
     * 设置 记录最后一次修改时间 字段:order_discount_info.gmt_modified
     *
     * @param gmtModified the value for order_discount_info.gmt_modified, 记录最后一次修改时间
     */
    public void setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
    }

    /**
     * 获取  字段:order_discount_info.sub_market_activity_id
     *
     * @return order_discount_info.sub_market_activity_id, 
     */
    public Long getSubMarketActivityId() {
        return subMarketActivityId;
    }

    /**
     * 设置  字段:order_discount_info.sub_market_activity_id
     *
     * @param subMarketActivityId the value for order_discount_info.sub_market_activity_id, 
     */
    public void setSubMarketActivityId(Long subMarketActivityId) {
        this.subMarketActivityId = subMarketActivityId;
    }
}